Avoid Assembly.Location not returning correct value issue #3

Merged
merged 1 commit into from Dec 27, 2016
@@ -5,7 +5,7 @@
#r "System.Collections"
#r "System.Runtime"
#r "System.Web"
-#r "MyExtensions.dll"
+#r "..\sharedlib\MyExtensions.dll"
using System;
using System.Collections.Generic;
Binary file not shown.
@@ -1,6 +1,6 @@
#load "..\CSharpScripting.csx"
-#r "MyExtensions.dll"
+#r "..\sharedlib\MyExtensions.dll"
using System;
using System.Collections.Generic;
@@ -46,8 +46,7 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="CopyDll">
- <Copy SourceFiles="$(SolutionDir)MyExtensions\bin\$(ConfigurationName)\MyExtensions.dll" DestinationFolder="$(SolutionDir)CSharpCompilerSlackOuthookCSharp\bin" ContinueOnError="true" />
- <Copy SourceFiles="$(SolutionDir)MyExtensions\bin\$(ConfigurationName)\MyExtensions.dll" DestinationFolder="$(SolutionDir)CSharpCompilerWebhookCSharp\bin" ContinueOnError="true" />
+ <Copy SourceFiles="$(SolutionDir)MyExtensions\bin\$(ConfigurationName)\MyExtensions.dll" DestinationFolder="$(SolutionDir)\sharedlib" ContinueOnError="true" />
</Target>
<Target Name="AfterBuild">
<CallTarget Condition="'$(Configuration)' == 'Debug'" Targets="CopyDll" />