# Project Configuration ## 🔧 Visual Studio App Designer Electron.NET provides close integration via the Visual Studio Project System and MSBuild. After adding the ElectronNET.Core package, you will see this in the project configuration page after double-click on the 'Properties' folder or right-click on the project and choosing 'Properties': ![App Designer1](../images/app_designer1.png) ![App Designer2](../images/app_designer2.png) ## Project File Settings The same settings can be configured manually by editing the MSBuild properties in your `.csproj` file. These are the current default values when you don't make any changes: ```xml 30.4.0 26.0 win-x64 true $(MSBuildProjectName.Replace(".", "-").ToLower()) electron-builder.json $(MSBuildProjectName) ``` ### Relation to package.json ElectronNET.Core does not work with an `electron-manifest.json` file anymore. Since electron builder still expects a `package.json` file to exist, ElectronNET.Core is creating this under the hood automatically during build. For reference, here's the package.json template file that is being used, so you can see how the MSBuild properties are being mapped to `package.json` data: ```json { "name": "$(ElectronPackageId)", "productName": "$(ElectronTitle)", "build": { "appId": "$(ElectronPackageId)", "linux": { "desktop": { "entry": { "Name": "$(Title)" } }, "executableName": "$(ElectronPackageId)" }, "deb": { "desktop": { "entry": { "Name": "$(Title)" } } } }, "description": "$(Description)", "version": "$(Version)", "main": "main.js", "author": { "name": "$(Company)" }, "license": "$(License)", "executable": "$(TargetName)", "singleInstance": "$(ElectronSingleInstance)", "homepage": "$(ProjectUrl)", "splashscreen": { "imageFile": "$(ElectronSplashScreen)" } } ``` ### Node.js Integration Electron.NET requires Node.js integration to be enabled for IPC to function. If you are not using the IPC functionality you can disable Node.js integration like so: ```csharp WebPreferences wp = new WebPreferences(); wp.NodeIntegration = false; BrowserWindowOptions browserWindowOptions = new BrowserWindowOptions { WebPreferences = wp }; ``` ## 🚀 Next Steps - **[Startup Methods](Startup-Methods.md)** - Understanding launch scenarios - **[Debugging](../Using/Debugging.md)** - Learn about ASP.NET debugging features - **[Package Building](Package-Building.md)** - Create distributable packages