I have a quite huge solution and I've to perform some maintenance (creating test classes for whole projects and so on) and I was wondering if it's possible with powershell or vscode to create projects automatically. I've just followed this link and tried to use the IVSSolution interface from powershell but with no luck. Is there a working and simplier solution?
Asked
Active
Viewed 1,923 times
-1
-
New projects can be created via `dotnet new` https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new?tabs=netcore2x but it relies on .NET Core SDK installation. – Lex Li Dec 22 '17 at 19:09
-
I know but this only applies to .NET Core projects... I need for .NET Framework – advapi Dec 26 '17 at 10:38
-
@advapi have you find out how to create a project from the command line? I need it as well. – Martijn Sep 30 '20 at 09:03
1 Answers
0
While, I'm not sure your requirements, I think what you should be really looking for is Project Templates.
This blog explains the process of creating a project template in details. Or, You can, create a project template using PowerShell.

Ankit Vijay
- 3,752
- 4
- 30
- 53
-
No, I don't need to create a project template.... I just want to create a new .NET Framework project... from command line! – advapi Dec 26 '17 at 10:39