Message 1 of 1
The name 'InitializeComponent' does not exist in the current context
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The name 'InitializeComponent' does not exist in the current context , where the mainwindow.xaml.cs and mainwindow.xaml is not binded properly . can someone help me to sort out this . below i'll mention images of both and also the .csproj file
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework>
<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>
<RootNamespace>ReverseIntegration</RootNamespace>
<AssemblyName>ReverseIntegration</AssemblyName>
<Platforms>x64;AnyCPU</Platforms>
<ApplicationIcon>LT.ico</ApplicationIcon>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<DefineConstants>TRACE</DefineConstants>
<DebugType>portable</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
</PropertyGroup>
<ItemGroup>
<Reference Include="Autodesk.Connectivity.Explorer.Extensibility">
<HintPath>..\..\Desktop\My tasks\Promote to realease - 4_6\Promote to realease - 4,6\VaultMenu\bin\Debug\Autodesk.Connectivity.Explorer.Extensibility.dll</HintPath>
<Private>true</Private>
</Reference>
<Reference Include="Autodesk.Connectivity.Extensibility.Framework">
<HintPath>..\..\Desktop\My tasks\Promote to realease - 4_6\Promote to realease - 4,6\VaultMenu\bin\Debug\Autodesk.Connectivity.Extensibility.Framework.dll</HintPath>
<Private>true</Private>
</Reference>
<Reference Include="Autodesk.Connectivity.JobProcessor.Extensibility">
<HintPath>..\..\..\..\Program Files\Autodesk\Vault Client 2026\Explorer\Autodesk.Connectivity.JobProcessor.Extensibility.dll</HintPath>
</Reference>
<Reference Include="Autodesk.Connectivity.WebServices">
<HintPath>..\..\Desktop\My tasks\Promote to realease - 4_6\Promote to realease - 4,6\ExcelReader\bin\Debug\Autodesk.Connectivity.WebServices.dll</HintPath>
</Reference>
<Reference Include="Autodesk.Connectivity.WebServices.Interop">
<HintPath>..\..\Desktop\My tasks\Promote to realease - 4_6\Promote to realease - 4,6\VaultMenu\bin\Debug\Autodesk.Connectivity.WebServices.Interop.dll</HintPath>
</Reference>
<Reference Include="Autodesk.DataManagement.Client.Framework">
<HintPath>..\..\Desktop\My tasks\Promote to realease - 4_6\Promote to realease - 4,6\ExcelReader\bin\Debug\Autodesk.DataManagement.Client.Framework.dll</HintPath>
</Reference>
<Reference Include="Autodesk.DataManagement.Client.Framework.Forms">
<HintPath>..\..\Desktop\My tasks\Promote to realease - 4_6\Promote to realease - 4,6\VaultMenu\bin\Debug\Autodesk.DataManagement.Client.Framework.Forms.dll</HintPath>
</Reference>
<Reference Include="Autodesk.DataManagement.Client.Framework.Vault">
<HintPath>..\..\Desktop\My tasks\Promote to realease - 4_6\Promote to realease - 4,6\VaultMenu\bin\Debug\Autodesk.DataManagement.Client.Framework.Vault.dll</HintPath>
</Reference>
<Reference Include="Autodesk.DataManagement.Client.Framework.Vault.Forms">
<HintPath>..\..\Desktop\My tasks\Promote to realease - 4_6\Promote to realease - 4,6\VaultMenu\bin\Debug\Autodesk.DataManagement.Client.Framework.Vault.Forms.dll</HintPath>
<Private>true</Private>
</Reference>
<Reference Include="Excel">
<HintPath>..\..\Desktop\My tasks\ReverseIntegration _2021\ReverseIntegration\bin\Debug\Excel.dll</HintPath>
</Reference>
<Reference Include="MahApps.Metro">
<HintPath>bin\Debug\MahApps.Metro.dll</HintPath>
</Reference>
<Reference Include="MahApps.Metro.Resources">
<HintPath>bin\Debug\MahApps.Metro.Resources.dll</HintPath>
</Reference>
</ItemGroup>
<PropertyGroup>
<EnableDefaultPageItems>false</EnableDefaultPageItems>
</PropertyGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml" />
<Compile Update="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="LT.ico" />
</ItemGroup>
</Project>