You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm forced to use MSBuild stuff because CustomTool is not supported by Scripty in a .net standard project.
To use an assembly in my .csx script, I have first to copy it to the same folder as the .csx file (I'm using a PreBuild Event to do this, because .csx is in project B and the assembly I want is in project A).
The issue is: the Scripty MSBuild stuff is running before the PreBuildEvent, so, in the first time, there is no DLL copied and the .csx gives me such error. Then, when the dll is copied, it is always the not-the-latest version (because Scripty uses whatever there is in the disk and then AFTER, the PreBuildEvent is executed, thus copying the new version).
This project (let's call it ProjectSample) references another .net standard 1.4 project (called Nexus).
The .csx will also use the project Nexus (it is a XML deserializer).
It is expected that Scripty runs only AFTER PreBuildEvent occurs.
The text was updated successfully, but these errors were encountered:
I'm forced to use MSBuild stuff because CustomTool is not supported by Scripty in a .net standard project.
To use an assembly in my .csx script, I have first to copy it to the same folder as the .csx file (I'm using a PreBuild Event to do this, because .csx is in project B and the assembly I want is in project A).
The issue is: the Scripty MSBuild stuff is running before the PreBuildEvent, so, in the first time, there is no DLL copied and the .csx gives me such error. Then, when the dll is copied, it is always the not-the-latest version (because Scripty uses whatever there is in the disk and then AFTER, the PreBuildEvent is executed, thus copying the new version).
This is my .csproj:
This project (let's call it ProjectSample) references another .net standard 1.4 project (called Nexus).
The .csx will also use the project Nexus (it is a XML deserializer).
It is expected that Scripty runs only AFTER PreBuildEvent occurs.
The text was updated successfully, but these errors were encountered: