Skip to content
This repository was archived by the owner on Sep 17, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<!--
Copies all references from NuGet packages to the output directory
-->
<Content Include="@(ReferencePath)" Condition=" '%(ReferencePath.NuGetIsFrameworkReference)' == 'false' " KeepMetadata="CopyToOutputDirectory">
<Content Include="@(ReferencePath)" Condition=" '%(ReferencePath.NuGetIsFrameworkReference)' != 'true' " KeepMetadata="CopyToOutputDirectory">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link>$(DestinationSubDirectory)%(Filename)%(Extension)</Link>
<Visible>false</Visible>
Expand Down
2 changes: 2 additions & 0 deletions src/RoslynCodeTaskFactory/CodeTaskFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ public sealed partial class CodeTaskFactory : ITaskFactory
"System.Collections",
"System.IO",
"System.IO.FileSystem",
"System.IO.FileSystem.Primitives",
"System.Linq",
"System.Runtime.Extensions",
}
},
// CSharp specific assembly references
Expand Down
2 changes: 2 additions & 0 deletions src/Samples/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
Log.LogMessage(MessageImportance.High, "Hello from an inline task created by Roslyn!");
Log.LogMessageFromText($"Parameter1: '{Parameter1}'", MessageImportance.High);
Log.LogMessageFromText($"Parameter2: '{Parameter2}'", MessageImportance.High);
Log.LogMessageFromText($"%TEMP%: {Path.GetTempPath()}", MessageImportance.High);

Parameter3 = "A value from the Roslyn CodeTaskFactory";]]>
</Code>
</Task>
Expand Down