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
{{ message }}
This repository was archived by the owner on Sep 17, 2020. It is now read-only.
Hi !
I have been using your library to insert C# tasks in the Csproj and I'm getting an error when i try to use the functions from Path. The error is the following :
--error CS0103: The name 'Path' doesn't exists in the actual Context
--the task generator "CodeTaskFactory" cannot be loaded from the assembly "C:...\netstandard1.5\RoslynCodeTaskFactory.dll". The task generator should a value for the property "TaskType"
The url of the dll is correct and the dll exists.
I have tryied everything and still getting the error. The task that I'm trying to execute is the following:
cpp_files = new List();
List h_files = new List();
List qml_files = new List();
string[] filenames = Directory.GetFiles(pathSourceFiles);
foreach (string f in filenames)
{
String name = Path.GetFileName(f);
if (name.EndsWith(".cpp"))
{
cpp_files.Add(name);
}
if (name.EndsWith(".h"))
{
h_files.Add(name);
}
if (name.EndsWith(".qml"))
{
qml_files.Add(name);
}
}
]]>
</Code>
</Task>
</UsingTask>
And in the Csproj i'm Referencing the package as:
None
The project is NetCore and it is getting the Roslyn dll from the netstandard folder
Hi !
I have been using your library to insert C# tasks in the Csproj and I'm getting an error when i try to use the functions from Path. The error is the following :
--error CS0103: The name 'Path' doesn't exists in the actual Context
--the task generator "CodeTaskFactory" cannot be loaded from the assembly "C:...\netstandard1.5\RoslynCodeTaskFactory.dll". The task generator should a value for the property "TaskType"
The url of the dll is correct and the dll exists.
I have tryied everything and still getting the error. The task that I'm trying to execute is the following:
cpp_files = new List(); List h_files = new List(); List qml_files = new List();
And in the Csproj i'm Referencing the package as:
NoneThe project is NetCore and it is getting the Roslyn dll from the netstandard folder
Thanks in advance,
Marc.