I have Tools | Options | Projects and Solutions | General | Save New Projects When Created NOT selected. This allows the creation of temporary projects (using %USERPROFILE%\Local Settings\Application Data\Temporary Projects -- and deleted if you discard,
rather than save, the project).
However this does not support multiple project solutions.
When, with CTP #2, I create an ASP.NET MVC Web Application, I get prompted for a test project and if I select to create the solution appears fine. But when it is saved to a more permanent location the test project is NOT saved and appears to be lost with
the IDE and source control getting very confused (creating folder mappings into the temporary projects folder).
Switching the option to save new projects and everything is fine.
The next release of the ctp will contain a fix for this behavior. Temporary projects actually were enabled by mistake in mvc application projects. The behavior now mimics that of web application projects, which makes sense since mvc application projects
are a flavor of waps. You will notice now that the create new project dialog looks the same when creating a new mvc app whether or not you have chosen to save new projects when created.
Thanks,
Joe
Marked as answer by rjcox on May 14, 2008 10:30 AM
rjcox
Contributor
7064 Points
1444 Posts
CTP #2 Bug: Project Creation Doesn't Handle Temporary Projects
Mar 06, 2008 11:05 AM|LINK
I have Tools | Options | Projects and Solutions | General | Save New Projects When Created NOT selected. This allows the creation of temporary projects (using %USERPROFILE%\Local Settings\Application Data\Temporary Projects -- and deleted if you discard, rather than save, the project).
However this does not support multiple project solutions.
When, with CTP #2, I create an ASP.NET MVC Web Application, I get prompted for a test project and if I select to create the solution appears fine. But when it is saved to a more permanent location the test project is NOT saved and appears to be lost with the IDE and source control getting very confused (creating folder mappings into the temporary projects folder).
Switching the option to save new projects and everything is fine.
Preview 2 Bug
joecar
Member
524 Points
120 Posts
Microsoft
Re: CTP #2 Bug: Project Creation Doesn't Handle Temporary Projects
Mar 06, 2008 07:35 PM|LINK
That is an interesting find. Let me try to repro and I will open a bug if I am successful.
Thanks,
Joe
joecar
Member
524 Points
120 Posts
Microsoft
Re: CTP #2 Bug: Project Creation Doesn't Handle Temporary Projects
Mar 06, 2008 08:10 PM|LINK
I will go ahead and open a bug on this. Thanks and I will let you know what are plans are for a fix.
Joe
rjcox
Contributor
7064 Points
1444 Posts
Re: CTP #2 Bug: Project Creation Doesn't Handle Temporary Projects
Mar 07, 2008 07:17 AM|LINK
Thanks
(Not difficult to work around -- providing one remembers :-))
joecar
Member
524 Points
120 Posts
Microsoft
Re: CTP #2 Bug: Project Creation Doesn't Handle Temporary Projects
May 13, 2008 10:40 PM|LINK
The next release of the ctp will contain a fix for this behavior. Temporary projects actually were enabled by mistake in mvc application projects. The behavior now mimics that of web application projects, which makes sense since mvc application projects are a flavor of waps. You will notice now that the create new project dialog looks the same when creating a new mvc app whether or not you have chosen to save new projects when created.
Thanks,
Joe