Click here to Skip to main content
       

Silverlight / WPF

 
SuggestionRe: WPF Printing in milimeters PinmemberAmitosh S.M.7-Jul-13 22:18 
GeneralRe: WPF Printing in milimeters PinmemberSaksida Bojan8-Jul-13 0:59 
QuestionWhat is the use of somefile.g.i.cs auto-generated file in Wpf? PinprofessionalMohammed Hameed3-Jul-13 21:24 
AnswerRe: What is the use of somefile.g.i.cs auto-generated file in Wpf? PinprotectorPete O'Hanlon3-Jul-13 21:45 
When you use Visual Studio to write your project (no matter what type of app you are writing), it does a lot of background build work. The .g.cs and .g.i.cs files are auto-generated from XAML files when the build process runs; the .g.i.cs is the part that ties into the Intellisense builder.
 
As far as removing the unused usings, you'd have to edit the source template. On my machine, running Visual Studio 2012, they are located under C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ItemTemplates\CSharp\WPF\1033. Obviously, you'd have to pick your appropriate VS install location, but this should give you a head start.
I was brought up to respect my elders. I don't respect many people nowadays.

CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

GeneralRe: What is the use of somefile.g.i.cs auto-generated file in Wpf? PinprofessionalMohammed Hameed3-Jul-13 22:10 
GeneralRe: What is the use of somefile.g.i.cs auto-generated file in Wpf? PinprotectorPete O'Hanlon3-Jul-13 22:44 
GeneralRe: What is the use of somefile.g.i.cs auto-generated file in Wpf? PinprofessionalMohammed Hameed3-Jul-13 22:55 
AnswerRe: What is the use of somefile.g.i.cs auto-generated file in Wpf? PinmvpRichard MacCutchan3-Jul-13 22:12 
GeneralRe: What is the use of somefile.g.i.cs auto-generated file in Wpf? PinprofessionalMohammed Hameed3-Jul-13 22:20 
GeneralRe: What is the use of somefile.g.i.cs auto-generated file in Wpf? PinmvpRichard MacCutchan3-Jul-13 23:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 26 Nov 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid