Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.ArgumentException: Illegal characters in path. #91

Open
Bobisback opened this issue May 3, 2016 · 1 comment
Open

System.ArgumentException: Illegal characters in path. #91

Bobisback opened this issue May 3, 2016 · 1 comment

Comments

@Bobisback
Copy link

Bobisback commented May 3, 2016

Hello,

I would not consider this a issue as it is probably my lack of knowledge that is causing the problem.

I am trying to setup a mutiproject template using sidewaffle and template builder. I am using a combination of these two tutorials (I think they are made by the same person lol): https://www.youtube.com/watch?v=z33jOo75CH4 and https://github.com/ligershark/side-waffle/wiki/How-to-create-a-multi-project-template. When I am building the VISX project I get the following exception:

The "GetItemTemplateNameFromVSTemplatePath" task failed unexpectedly.
System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.FileInfo.Init(String fileName, Boolean checkHost)
at System.IO.FileInfo..ctor(String fileName)
at LigerShark.TemplateBuilder.Tasks.GetItemTemplateNameFromVSTemplatePath.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()

Any ideas what might be causing this and how to troubleshoot it. I guess a messed up path name is a good guess. Just not sure where to start. As a side note I used the same project to make a mutiproject solution template using this method: https://www.jayway.com/2015/03/13/visual-studio-how-to-create-a-solution-template-with-multiple-projects/. And it worked fine was just not very maintainable. Hence why I am trying this approach.

Any help would be appreciated as this is my first template I am trying to create. I just need a nudge in the right direction.

Thanks,
Bob

@1TheMuffinMan
Copy link

I am getting the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants