Skip to content

Commit

Permalink
Add Microsoft.Build.CopyOnWrite (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyGerlicher authored Feb 9, 2023
1 parent 83a1569 commit 5e6e7bd
Show file tree
Hide file tree
Showing 18 changed files with 2,594 additions and 1 deletion.
8 changes: 7 additions & 1 deletion MSBuildSdks.sln
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ClassLibrary", "ClassLibrar
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SampleNoTargets", "SampleNoTargets", "{469437EE-241A-4B8A-B7E0-E0F913F5529D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Build.CopyOnWrite", "src\CopyOnWrite\Microsoft.Build.CopyOnWrite.csproj", "{153D1183-2953-4D4D-A5AD-AA2CF99B0DE3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -134,6 +136,10 @@ Global
{2035141B-4345-4E79-83DB-979A43BA5C29}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2035141B-4345-4E79-83DB-979A43BA5C29}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2035141B-4345-4E79-83DB-979A43BA5C29}.Release|Any CPU.Build.0 = Release|Any CPU
{153D1183-2953-4D4D-A5AD-AA2CF99B0DE3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{153D1183-2953-4D4D-A5AD-AA2CF99B0DE3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{153D1183-2953-4D4D-A5AD-AA2CF99B0DE3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{153D1183-2953-4D4D-A5AD-AA2CF99B0DE3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -145,8 +151,8 @@ Global
{A266FDFA-BE7C-4E3E-9BEA-EF18EF66540C} = {35CEF293-5111-4017-A3BA-63FF5710C953}
{5AEA9E7B-4AF2-4E03-A566-7CC30318C311} = {867D30F7-2AEC-48E7-B167-4919EE1B0985}
{615210F2-B751-431E-B2F1-C5D3C205F899} = {5AEA9E7B-4AF2-4E03-A566-7CC30318C311}
{18C7CBF8-98D3-4C47-A11B-2905AF23A20B} = {615210F2-B751-431E-B2F1-C5D3C205F899}
{A9CC411B-67F8-4644-873C-1ACBFC12AAA5} = {5AEA9E7B-4AF2-4E03-A566-7CC30318C311}
{18C7CBF8-98D3-4C47-A11B-2905AF23A20B} = {615210F2-B751-431E-B2F1-C5D3C205F899}
{2035141B-4345-4E79-83DB-979A43BA5C29} = {A9CC411B-67F8-4644-873C-1ACBFC12AAA5}
{145D39C4-285A-4ACF-B86C-7E611969DE35} = {FCF015C3-82E5-488D-8438-1410F6572F0B}
{35CEF293-5111-4017-A3BA-63FF5710C953} = {145D39C4-285A-4ACF-B86C-7E611969DE35}
Expand Down
3 changes: 3 additions & 0 deletions Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,20 @@
<PropertyGroup>
<MicrosoftBuildPackageVersion>17.4.0</MicrosoftBuildPackageVersion>
<MicrosoftBuildPackageVersion Condition="'$(TargetFramework)' == 'netcoreapp3.1'">16.9.0</MicrosoftBuildPackageVersion>
<MicrosoftBuildPackageVersion Condition="'$(TargetFramework)' == 'netstandard2.0'">16.9.0</MicrosoftBuildPackageVersion>
<MicrosoftBuildPackageVersion Condition="'$(TargetFramework)' == 'net46'">15.9.20</MicrosoftBuildPackageVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Update="Microsoft.Build.Utilities.Core" Version="$(MicrosoftBuildPackageVersion)" />
<PackageReference Update="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildPackageVersion)" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.4.1" />
<PackageReference Update="Microsoft.Win32.Registry" Version="4.7.0" />
<PackageReference Update="MSBuild.ProjectCreation" Version="8.3.0" />
<PackageReference Update="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Update="Shouldly" Version="4.1.0" />
<PackageReference Update="xunit" Version="2.4.2" />
<PackageReference Update="xunit.runner.visualstudio" Version="2.4.5" />
<PackageReference Update="CopyOnWrite" Version="0.3.1" />
</ItemGroup>

<ItemGroup>
Expand Down
52 changes: 52 additions & 0 deletions src/CopyOnWrite/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Many of the sources are copied from the MSBuild repo
[*.cs]
dotnet_diagnostic.SA1028.severity = none
dotnet_diagnostic.SA1120.severity = none
dotnet_diagnostic.SA1513.severity = none
dotnet_diagnostic.SA1507.severity = none
dotnet_diagnostic.SA1000.severity = none
dotnet_diagnostic.SA1117.severity = none
dotnet_diagnostic.SA1515.severity = none
dotnet_diagnostic.SA1111.severity = none
dotnet_diagnostic.SA1636.severity = none
dotnet_diagnostic.SA1009.severity = none
dotnet_diagnostic.SA1129.severity = none
dotnet_diagnostic.SA1413.severity = none
dotnet_diagnostic.SA1025.severity = none
dotnet_diagnostic.SA1116.severity = none
dotnet_diagnostic.SA1512.severity = none
dotnet_diagnostic.SA1110.severity = none
dotnet_diagnostic.SA1131.severity = none
dotnet_diagnostic.SA1310.severity = none
dotnet_diagnostic.SA1201.severity = none
dotnet_diagnostic.SA1308.severity = none
dotnet_diagnostic.SA1401.severity = none
dotnet_diagnostic.SA1202.severity = none
dotnet_diagnostic.SA1124.severity = none
dotnet_diagnostic.SA1307.severity = none
dotnet_diagnostic.SA1214.severity = none
dotnet_diagnostic.SA1210.severity = none
dotnet_diagnostic.SA1516.severity = none
dotnet_diagnostic.SA1400.severity = none
dotnet_diagnostic.SA1003.severity = none
dotnet_diagnostic.SA1503.severity = none
dotnet_diagnostic.SA1119.severity = none
dotnet_diagnostic.SA1203.severity = none
dotnet_diagnostic.SA1204.severity = none
dotnet_diagnostic.SA1311.severity = none
dotnet_diagnostic.SA1005.severity = none
dotnet_diagnostic.SA1306.severity = none
dotnet_diagnostic.SA1311.severity = none
dotnet_diagnostic.SA1500.severity = none
dotnet_diagnostic.SA1629.severity = none
dotnet_diagnostic.SA1642.severity = none
dotnet_diagnostic.SA1616.severity = none
dotnet_diagnostic.SA1615.severity = none
dotnet_diagnostic.SA1600.severity = none
dotnet_diagnostic.SA1623.severity = none
dotnet_diagnostic.SA1201.severity = none





Loading

0 comments on commit 5e6e7bd

Please sign in to comment.