D
D
Dmitry Skogorev2014-08-13 22:39:05
Programming
Dmitry Skogorev, 2014-08-13 22:39:05

Where to dig to solve an error in C# code?

I have a wp pivot project and
I get the error
Error 2 The namespace '' already contains a definition for 'PivotApp2' C:\Users\qwe\Documents\Visual Studio 2013\Projects\PivotApp2\PivotApp2\obj\ARM\Debug\App.g.cs 36 22 PivotApp2

есть App.xaml c <Application x:Class="PivotApp2"...
MainPage.Xaml c x:Class="PivotApp2.MainPage" ...
app.xaml.cs c namespace PivotApp2{ public partial class App : Application {...

I'm confused and can't figure out what is required of me. Help me please.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Morozov, 2014-08-14
@morozovdenis

x:Class="PivotApp2"
PivotApp2 is not a class but a namespace

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question