File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public void CanUseFileConstants()
1515
1616 [ Fact ]
1717 public void CanUseFileConstantLinkedFile ( )
18- => Assert . Equal ( Path . Combine ( "Included" , "icon.png " ) , ThisAssembly . Constants . Included . icon ) ;
18+ => Assert . Equal ( Path . Combine ( "Included" , "Readme.txt " ) , ThisAssembly . Constants . Included . Readme ) ;
1919
2020 [ Fact ]
2121 public void CanUseMetadata ( )
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >net5 .0</TargetFramework >
4+ <TargetFramework >net6 .0</TargetFramework >
55 <TargetFramework Condition =" '$(BuildingInsideVisualStudio)' == 'true'" >net472</TargetFramework >
66 <RootNamespace >ThisAssemblyTests</RootNamespace >
77 <CopyLocalLockFileAssemblies >true</CopyLocalLockFileAssemblies >
4848 <Constant Include =" Foo.Bar" Value =" Baz" Comment =" Yay!" />
4949 <Constant Include =" Foo.Hello" Value =" World" Comment =" Comments make everything better 😍" />
5050 <FileConstant Include =" @(None)" />
51- <AssemblyMetadata Include =" Foo" Value =" Bar" />
52- <FileConstant Update =" @(FileConstant -> WithMetadataValue('Filename', 'icon'))" >
53- <Link >Included/icon.png</Link >
51+ <FileConstant Update =" @(FileConstant -> WithMetadataValue('Filename', 'Readme'))" >
52+ <Link >Included/%(Filename)%(Extension)</Link >
5453 </FileConstant >
54+ <AssemblyMetadata Include =" Foo" Value =" Bar" />
5555 </ItemGroup >
56-
56+
5757 <Target Name =" GetDependencyTargetPaths" Returns =" @(TargetPathWithTargetPlatformMoniker)" >
5858 <ItemGroup >
5959 <!-- <TargetPathWithTargetPlatformMoniker Include="$(PKGCsvTextFieldParser)\lib\netstandard2.0\CsvTextFieldParser.dll" IncludeRuntimeDependency="false" />
You can’t perform that action at this time.
0 commit comments