Skip to content

Commit

Permalink
Test net8 (DynamoDS#14635)
Browse files Browse the repository at this point in the history
* Test net8

* Also add DotNet to the build properties

* Update CS_SDK.props

* Update CS_SDK.props

* update

* update

* update

* Go back to net6

---------

Co-authored-by: pinzart <[email protected]>
  • Loading branch information
sm6srw and pinzart authored Nov 27, 2023
1 parent cbba6d0 commit 36fb8d3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
8 changes: 3 additions & 5 deletions src/Config/CS_SDK.props
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
<UICulture>en-US</UICulture>
<OutputType Condition=" '$(OutputType)' == '' ">Library</OutputType>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<TestProjectDefaults Condition="$(MSBuildProjectDirectory.Contains('test'))">true</TestProjectDefaults>
<TestProjectDefaults Condition=" '$(TestProjectDefaults)' == '' ">false</TestProjectDefaults>
<!--MSB3539: The value of the property "BaseIntermediateOutputPath" was modified after it was used by MSBuild-->
<!--CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'-->
<!--NUnit2005: Consider using Assert.That(actual, Is.EqualTo(expected)) instead of Assert.AreEqual(expected, actual)-->
Expand Down Expand Up @@ -87,10 +85,10 @@
<Private>false</Private>
</ProjectReference>
</ItemDefinitionGroup>
<PropertyGroup Condition=" '$(TestProjectDefaults)' == 'true' ">
<PropertyGroup Condition=" '$(TestProject)' == 'true' ">
<TestDependenciesPath>$(OutputPath)\..\..\..\test\test_dependencies</TestDependenciesPath>
</PropertyGroup>
<ItemDefinitionGroup Condition=" '$(TestProjectDefaults)' == 'true' ">
<ItemDefinitionGroup Condition=" '$(TestProject)' == 'true' ">
<ProjectReference>
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
Expand Down Expand Up @@ -148,4 +146,4 @@
</PropertyGroup>
</Otherwise>
</Choose>
</Project>
</Project>
2 changes: 1 addition & 1 deletion src/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<ItemGroup>
<ProjectToBuild Include="$(Solution)" >
<Properties>Configuration=Release;Platform=$(Platform)</Properties>
<Properties>Configuration=Release;Platform=$(Platform);DotNet=$(DotNet)</Properties>
</ProjectToBuild>
</ItemGroup>

Expand Down
5 changes: 5 additions & 0 deletions test/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<Project>
<PropertyGroup>
<TestProject>true</TestProject>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void PackageManagerViewExtensionHasCorrectNumberOfRequestedExtensions()
}

[Test]
async public void LateLoadedViewExtensionsHaveMethodsCalled()
public void LateLoadedViewExtensionsHaveMethodsCalled()
{
var pkgviewExtension = View.viewExtensionManager.ViewExtensions.OfType<PackageManagerViewExtension>().FirstOrDefault();
var pkgDir = Path.Combine(PackagesDirectory, "SampleViewExtension");
Expand Down

0 comments on commit 36fb8d3

Please sign in to comment.