Jake Freelander
Jake Freelander

Reputation: 1471

VS2013 - how do you add existing xaml+vb files to a new project?

I want to move a big pile of code to a separate project and use it as a framework for where it came from.. and other stuff too.

I started a new vb.net wpf project and started adding files from the old project but when they get added, the wpf and its associated vb file are treated as separate things. What I mean is that when I add a new wpf usercontrol file(or whatever), the vb file gets nested in the xaml file but when adding existing, they get added side by side.

I'm not sure whether they work or not, still a lot to add and a little bit to rewrite but I'd like to do this properly from start to finish. Is there a more appropriate way to do this? Or if not then how would i nest the vb files into the xaml files?

Upvotes: 1

Views: 240

Answers (1)

Jake Freelander
Jake Freelander

Reputation: 1471

Apparently I need to add the files one by one by selecting the xaml one, then it automatically adds the .vb as nested.

Upvotes: 1

Related Questions