File tree Expand file tree Collapse file tree 14 files changed +345
-84
lines changed Expand file tree Collapse file tree 14 files changed +345
-84
lines changed Original file line number Diff line number Diff line change 46
46
- script : dotnet test -c Release -f net6.0 -l "trx;LogFileName=VSTestResults_net6.0.trx"
47
47
displayName : Run .NET 6 unit tests
48
48
49
- # Run the .NET 6 MVVM Toolkit tests targeting Roslyn 4.3.0
50
- - script : dotnet test tests\CommunityToolkit.Mvvm.UnitTests\CommunityToolkit.Mvvm.UnitTests.csproj -c Release -f net6.0 -p:MvvmToolkitSourceGeneratorRoslynVersion=4.3.0 -l "trx;LogFileName=VSTestResults_net6.0_mvvmtoolkit_roslyn430.trx"
51
- displayName : Run CommunityToolkit.Mvvm.UnitTests unit tests with Roslyn 4.3.0
52
-
53
- # Run the .NET 6 MVVM Toolkit source generator tests targeting Roslyn 4.3.0
54
- - script : dotnet test tests\CommunityToolkit.Mvvm.SourceGenerators.UnitTests\CommunityToolkit.Mvvm.SourceGenerators.UnitTests.csproj -c Release -f net6.0 -p:MvvmToolkitSourceGeneratorRoslynVersion=4.3.0 -l "trx;LogFileName=VSTestResults_net6.0_mvvmtoolkit_generators_roslyn430.trx"
55
- displayName : Run CommunityToolkit.Mvvm.SourceGenerators.UnitTests unit tests with Roslyn 4.3.0
56
-
57
49
# Run .NET Core 3.1 tests
58
50
- script : dotnet test -c Release -f netcoreapp3.1 -l "trx;LogFileName=VSTestResults_netcoreapp3.1.trx"
59
51
displayName : Run .NET Core 3.1 unit tests
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 17
17
<ProjectReference Include =" ..\..\CommunityToolkit.Mvvm.SourceGenerators.Roslyn401\CommunityToolkit.Mvvm.SourceGenerators.Roslyn401.csproj" OutputItemType =" Analyzer" ReferenceOutputAssembly =" false" PrivateAssets =" contentfiles;build" />
18
18
</ItemGroup >
19
19
20
+ <Import Project =" ..\CommunityToolkit.Mvvm.ExternalAssembly\CommunityToolkit.Mvvm.ExternalAssembly.projitems" Label =" Shared" />
21
+
20
22
</Project >
Original file line number Diff line number Diff line change
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
+
3
+ <PropertyGroup >
4
+ <TargetFramework >netstandard2.0</TargetFramework >
5
+ </PropertyGroup >
6
+
7
+ <PropertyGroup >
8
+ <IsPackable >false</IsPackable >
9
+ <IsPublishable >false</IsPublishable >
10
+ <NoWarn >$(NoWarn);CS8002;SA0001</NoWarn >
11
+ </PropertyGroup >
12
+
13
+ <ItemGroup >
14
+ <ProjectReference Include =" ..\..\CommunityToolkit.Mvvm\CommunityToolkit.Mvvm.csproj" />
15
+ <ProjectReference Include =" ..\..\CommunityToolkit.Mvvm.SourceGenerators.Roslyn430\CommunityToolkit.Mvvm.SourceGenerators.Roslyn430.csproj" OutputItemType =" Analyzer" ReferenceOutputAssembly =" false" PrivateAssets =" contentfiles;build" />
16
+ </ItemGroup >
17
+
18
+ <Import Project =" ..\CommunityToolkit.Mvvm.ExternalAssembly\CommunityToolkit.Mvvm.ExternalAssembly.projitems" Label =" Shared" />
19
+
20
+ </Project >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
+ <PropertyGroup >
4
+ <MSBuildAllProjects Condition =" '$(MSBuildVersion)' == '' Or '$(MSBuildVersion)' < '16.0'" >$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects >
5
+ <HasSharedItems >true</HasSharedItems >
6
+ <SharedGUID >e827a9cd-405f-43e4-84c7-68cc7e845cdc</SharedGUID >
7
+ </PropertyGroup >
8
+ <PropertyGroup Label =" Configuration" >
9
+ <Import_RootNamespace >CommunityToolkit.Mvvm.ExternalAssembly</Import_RootNamespace >
10
+ </PropertyGroup >
11
+ <ItemGroup >
12
+ <Compile Include =" $(MSBuildThisFileDirectory)ModelWithObservableObjectAttribute.cs" />
13
+ <Compile Include =" $(MSBuildThisFileDirectory)ModelWithObservablePropertyAndMethod.cs" />
14
+ <Compile Include =" $(MSBuildThisFileDirectory)SampleModelWithINPCAndObservableProperties.cs" />
15
+ </ItemGroup >
16
+ </Project >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <Project ToolsVersion =" 15.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
+ <PropertyGroup Label =" Globals" >
4
+ <ProjectGuid >e827a9cd-405f-43e4-84c7-68cc7e845cdc</ProjectGuid >
5
+ <MinimumVisualStudioVersion >14.0</MinimumVisualStudioVersion >
6
+ </PropertyGroup >
7
+ <Import Project =" $(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition =" Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
8
+ <Import Project =" $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.Default.props" />
9
+ <Import Project =" $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.props" />
10
+ <PropertyGroup />
11
+ <Import Project =" CommunityToolkit.Mvvm.ExternalAssembly.projitems" Label =" Shared" />
12
+ <Import Project =" $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.CSharp.targets" />
13
+ </Project >
Original file line number Diff line number Diff line change 12
12
</ItemGroup >
13
13
14
14
<ItemGroup >
15
- <ProjectReference Include =" ..\CommunityToolkit.Mvvm.ExternalAssembly\CommunityToolkit.Mvvm.ExternalAssembly.csproj" />
15
+ <ProjectReference Include =" ..\CommunityToolkit.Mvvm.ExternalAssembly.Roslyn401 \CommunityToolkit.Mvvm.ExternalAssembly.Roslyn401 .csproj" />
16
16
<ProjectReference Include =" ..\..\CommunityToolkit.Mvvm\CommunityToolkit.Mvvm.csproj" />
17
17
<ProjectReference Include =" ..\..\CommunityToolkit.Mvvm.SourceGenerators.Roslyn401\CommunityToolkit.Mvvm.SourceGenerators.Roslyn401.csproj" OutputItemType =" Analyzer" ReferenceOutputAssembly =" false" PrivateAssets =" contentfiles;build" />
18
18
</ItemGroup >
19
19
20
+ <Import Project =" ..\CommunityToolkit.Mvvm.UnitTests\CommunityToolkit.Mvvm.UnitTests.projitems" Label =" Shared" />
21
+
20
22
</Project >
Original file line number Diff line number Diff line change
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
+
3
+ <PropertyGroup >
4
+ <TargetFrameworks >net472;netcoreapp3.1;net6.0</TargetFrameworks >
5
+ </PropertyGroup >
6
+
7
+ <ItemGroup >
8
+ <PackageReference Include =" Dbs.Signed3.Nito.AsyncEx.Context" Version =" 5.0.0" />
9
+ <PackageReference Include =" MSTest.TestAdapter" Version =" 2.2.8" />
10
+ <PackageReference Include =" MSTest.TestFramework" Version =" 2.2.8" />
11
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.0.0" />
12
+ </ItemGroup >
13
+
14
+ <ItemGroup >
15
+ <ProjectReference Include =" ..\CommunityToolkit.Mvvm.ExternalAssembly.Roslyn430\CommunityToolkit.Mvvm.ExternalAssembly.Roslyn430.csproj" />
16
+ <ProjectReference Include =" ..\..\CommunityToolkit.Mvvm\CommunityToolkit.Mvvm.csproj" />
17
+ <ProjectReference Include =" ..\..\CommunityToolkit.Mvvm.SourceGenerators.Roslyn430\CommunityToolkit.Mvvm.SourceGenerators.Roslyn430.csproj" OutputItemType =" Analyzer" ReferenceOutputAssembly =" false" PrivateAssets =" contentfiles;build" />
18
+ </ItemGroup >
19
+
20
+ <Import Project =" ..\CommunityToolkit.Mvvm.UnitTests\CommunityToolkit.Mvvm.UnitTests.projitems" Label =" Shared" />
21
+
22
+ </Project >
Original file line number Diff line number Diff line change 1
- <Project Sdk =" Microsoft.NET.Sdk" >
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
4
<TargetFrameworks >net472;netcoreapp3.1;net6.0</TargetFrameworks >
5
5
</PropertyGroup >
6
6
7
7
<ItemGroup >
8
8
<PackageReference Include =" Microsoft.CodeAnalysis.CSharp.Analyzer.Testing.MSTest" Version =" 1.1.1" />
9
- <PackageReference Include =" Microsoft.CodeAnalysis.CSharp.Workspaces" Version =" 4.0.1 " />
10
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.0.0 " />
11
- <PackageReference Include =" MSTest.TestAdapter" Version =" 2.2.8 " />
12
- <PackageReference Include =" MSTest.TestFramework" Version =" 2.2.8 " />
9
+ <PackageReference Include =" Microsoft.CodeAnalysis.CSharp.Workspaces" Version =" 4.3.0 " />
10
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.3.1 " />
11
+ <PackageReference Include =" MSTest.TestAdapter" Version =" 2.2.10 " />
12
+ <PackageReference Include =" MSTest.TestFramework" Version =" 2.2.10 " />
13
13
</ItemGroup >
14
14
15
15
<ItemGroup >
16
16
<ProjectReference Include =" ..\..\CommunityToolkit.Mvvm\CommunityToolkit.Mvvm.csproj" />
17
17
<ProjectReference Include =" ..\..\CommunityToolkit.Mvvm.SourceGenerators.Roslyn401\CommunityToolkit.Mvvm.SourceGenerators.Roslyn401.csproj" />
18
18
</ItemGroup >
19
19
20
+ <Import Project =" ..\CommunityToolkit.Mvvm.SourceGenerators.UnitTests\CommunityToolkit.Mvvm.SourceGenerators.UnitTests.projitems" Label =" Shared" />
21
+
20
22
</Project >
Original file line number Diff line number Diff line change
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
+
3
+ <PropertyGroup >
4
+ <TargetFrameworks >net472;netcoreapp3.1;net6.0</TargetFrameworks >
5
+ </PropertyGroup >
6
+
7
+ <ItemGroup >
8
+ <PackageReference Include =" Microsoft.CodeAnalysis.CSharp.Analyzer.Testing.MSTest" Version =" 1.1.1" />
9
+ <PackageReference Include =" Microsoft.CodeAnalysis.CSharp.Workspaces" Version =" 4.3.0" />
10
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.3.1" />
11
+ <PackageReference Include =" MSTest.TestAdapter" Version =" 2.2.10" />
12
+ <PackageReference Include =" MSTest.TestFramework" Version =" 2.2.10" />
13
+ </ItemGroup >
14
+
15
+ <ItemGroup >
16
+ <ProjectReference Include =" ..\..\CommunityToolkit.Mvvm\CommunityToolkit.Mvvm.csproj" />
17
+ <ProjectReference Include =" ..\..\CommunityToolkit.Mvvm.SourceGenerators.Roslyn430\CommunityToolkit.Mvvm.SourceGenerators.Roslyn430.csproj" />
18
+ </ItemGroup >
19
+
20
+ <Import Project =" ..\CommunityToolkit.Mvvm.SourceGenerators.UnitTests\CommunityToolkit.Mvvm.SourceGenerators.UnitTests.projitems" Label =" Shared" />
21
+
22
+ </Project >
You can’t perform that action at this time.
0 commit comments