Skip to content

Commit 0839373

Browse files
Fix (#36)
* fixed missing MSTest assemblies * fixed issues with Directory.Build.props * fix * had to add a reference to MSTest directly in the unit test project * fixed nuget publication
1 parent 12e5159 commit 0839373

File tree

6 files changed

+33
-13
lines changed

6 files changed

+33
-13
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
# User-specific files (MonoDevelop/Xamarin Studio)
1111
*.userprefs
12+
.idea/
1213

1314
# Build results
1415
[Dd]ebug/

akkalogo.png

16.7 KB
Loading

build/_build.csproj.DotSettings

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
1+
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
22
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=HeapView_002EDelegateAllocation/@EntryIndexedValue">DO_NOT_SHOW</s:String>
33
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=VariableHidesOuterVariable/@EntryIndexedValue">DO_NOT_SHOW</s:String>
44
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=ClassNeverInstantiated_002EGlobal/@EntryIndexedValue">DO_NOT_SHOW</s:String>
@@ -20,6 +20,7 @@
2020
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpKeepExistingMigration/@EntryIndexedValue">True</s:Boolean>
2121
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpPlaceEmbeddedOnSameLineMigration/@EntryIndexedValue">True</s:Boolean>
2222
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpRenamePlacementToArrangementMigration/@EntryIndexedValue">True</s:Boolean>
23+
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpUseContinuousIndentInsideBracesMigration/@EntryIndexedValue">True</s:Boolean>
2324
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EAddAccessorOwnerDeclarationBracesMigration/@EntryIndexedValue">True</s:Boolean>
2425
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002ECSharpPlaceAttributeOnSameLineMigration/@EntryIndexedValue">True</s:Boolean>
2526
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateBlankLinesAroundFieldToBlankLinesAroundProperty/@EntryIndexedValue">True</s:Boolean>

src/Akka.TestKit.MsTest.Tests/Akka.TestKit.MsTest.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<ItemGroup>
1515
<PackageReference Include="FluentAssertions" Version="$(FluentAssertionsVersion)" />
1616
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="$(TestSdkVersion)" />
17+
<PackageReference Include="MSTest.TestFramework" Version="$(MSTestVersion)" />
1718
<PackageReference Include="MSTest.TestAdapter" Version="$(MSTestVersion)" />
1819
<PackageReference Include="coverlet.collector" Version="3.2.0" />
1920
</ItemGroup>
Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
4-
<TargetFramework>$(LibraryFramework)</TargetFramework>
5-
</PropertyGroup>
6-
7-
<ItemGroup>
8-
<PackageReference Include="Akka.TestKit" Version="$(AkkaVersion)" />
9-
<PackageReference Include="MSTest.TestFramework" Version="$(MSTestVersion)" />
10-
</ItemGroup>
11-
12-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>$(LibraryFramework)</TargetFramework>
5+
<IsPackable>true</IsPackable>
6+
<Description>MSTest support for the Akka.NET Testkit.</Description>
7+
<PackageTags>akka;testkit;mstest;akka.net;akkadotnet</PackageTags>
8+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
9+
</PropertyGroup>
10+
11+
<ItemGroup>
12+
<PackageReference Include="Akka.TestKit" Version="$(AkkaVersion)" />
13+
<PackageReference Include="MSTest.TestFramework" Version="$(MSTestVersion)" />
14+
</ItemGroup>
15+
16+
</Project>

src/Directory.Build.props

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@
215215
</PropertyGroup>
216216
<ItemGroup>
217217
<None Include="$(MSBuildThisFileDirectory)\..\README.md" Pack="true" Visible="false" PackagePath="\" />
218+
<None Include="$(MSBuildThisFileDirectory)\..\akkalogo.png" Pack="true" Visible="false" PackagePath="\" />
218219
</ItemGroup>
219220
<PropertyGroup>
220221
<TargetFramework>netstandard2.0</TargetFramework>
@@ -228,4 +229,16 @@
228229
<AkkaVersion>1.4.48</AkkaVersion>
229230
<FluentAssertionsVersion>6.9.0</FluentAssertionsVersion>
230231
</PropertyGroup>
232+
<!-- SourceLink support for all Akka.NET projects -->
233+
<ItemGroup>
234+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
235+
</ItemGroup>
236+
<PropertyGroup>
237+
<RepositoryUrl>https://github.com/akkadotnet/Akka.TestKit.MSTest/</RepositoryUrl>
238+
<!-- Optional: Embed source files that are not tracked by the source control manager in the PDB -->
239+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
240+
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
241+
<IncludeSymbols>true</IncludeSymbols>
242+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
243+
</PropertyGroup>
231244
</Project>

0 commit comments

Comments
 (0)