TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Johan.Peeters
NA
13
0
Create a blank solution using the envdte
Jun 28 2004 10:26 AM
Hello, I have a list of project files (all full path and name) and I want to create a new solution and then add all these projects to this solution. This is what I tried. EnvDTE.Solution mysol = new EnvDTE.SolutionClass(); mySol.Create(@"C:\temp", "dummySolution.sln"); foreach(string myProj in _Projects) //_Projects is a list of project files) { mySol.AddFromFile(myProj, true); } mySol.Save(@"C:\temp\dummySolution.sln") The application keeps on busy for a while and then I get a System.Runtime.InteropServices.COMEException Additional information: Server execution failed. Can anybody tell me what is wrong or what I should do instaid. Thanks in advance, Johan.
Reply
Answers (
0
)
working with the data type which coded by VC 6.0
ActiveX and C# Interop question