Skip to content

Commit

Permalink
Fixed unit tests, but now VSIX won't build under VS 2017
Browse files Browse the repository at this point in the history
  • Loading branch information
daveaglick committed Mar 14, 2017
1 parent 636740d commit d232335
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/InterceptDirectiveResolver.md
Expand Up @@ -8,7 +8,7 @@ The `InterceptDirectiveResolver` is an alternate implementation that allows the
For most uses, the script would look something like this...

``` c#
#r ".\..\..\..\packages\NUnit.3.4.0\lib\net45\nunit.framework.dll"
#r ".\..\..\..\packages\NUnit.3.6.1\lib\net45\nunit.framework.dll"
#load "..\TestCs\ReferencedClass.cs"
#load "ReferencedScript.csx"

Expand Down
@@ -1,4 +1,4 @@
#r ".\..\..\..\packages\NUnit.3.4.0\lib\net45\nunit.framework.dll"
#r ".\..\..\..\packages\NUnit.3.6.1\lib\net45\nunit.framework.dll"
#load "..\TestCs\ReferencedClass.cs"
#load "ReferencedScript.csx"

Expand Down
@@ -1,4 +1,4 @@
#r ".\..\..\..\packages\NUnit.3.4.0\lib\net45\nunit.framework.dll"
#r ".\..\..\..\packages\NUnit.3.6.1\lib\net45\nunit.framework.dll"
#load "ReferencedScript.csx"

//Write using supplied ScriptContext
Expand Down
@@ -1,4 +1,4 @@
#r ".\..\..\..\packages\NUnit.3.4.0\lib\net45\nunit.framework.dll"
#r ".\..\..\..\packages\NUnit.3.6.1\lib\net45\nunit.framework.dll"

//Write using supplied ScriptContext
Output.WriteLine("namespace TestNamespace{class TestClass{public void TestMethod(){}}}");
Expand Down
3 changes: 3 additions & 0 deletions src/Scripty.MsBuild.Tests/Scripty.MsBuild.Tests.csproj
Expand Up @@ -63,6 +63,9 @@
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>xcopy "$(SolutionDir)Scripty\$(OutDir)*" "$(TargetDir)" /s /e /y</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
Expand Down

0 comments on commit d232335

Please sign in to comment.