.NET MAUI app crashing because it's not loading image file - maui

In my .NET MAUI app, I changed the icons used by the app from font based icons to PNG files and I store these images in Resources > Images folder.
I was able to successfully create a package and upload it to TestFlight but when I try to open the app, it crashes immediately. In crash logs, I see that the cause of crash is that the app was unable to load the PNG file I use for the Flyout i.e. the hamburger menu icon.
The other key change in the app is that it's now a .NET 7 based app.
I thought the publish process would add the PNG images used by the app to the ipa package if I placed them in Resources > Images folder.
Any idea what could be the issue here?
Here are screenshots of exception logs
And here's the MyApp.csproj file:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>MyApp</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
<!-- Display name -->
<ApplicationTitle>MyApp</ApplicationTitle>
<!-- App Identifier -->
<ApplicationId>com.mycompany.myapp</ApplicationId>
<ApplicationIdGuid>0636ab8b-e4f3-4c11-83e5-b809594a10b5</ApplicationIdGuid>
<!-- Versions -->
<ApplicationDisplayVersion>1.2</ApplicationDisplayVersion>
<ApplicationVersion>68</ApplicationVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='net7.0-ios'">
<CodesignKey>Apple Development: Samuel Uresin (3YQ4LF4U5J)</CodesignKey>
<CodesignProvision>VS: llc.iquest.ingrid.connect Development</CodesignProvision>
</PropertyGroup>
<ItemGroup>
<!-- App Icon -->
<MauiIcon Include="Resources\AppIcon\appicon.png" />
<!-- Splash Screen -->
<MauiSplashScreen Include="Resources\Splash\splash.png" Color="#262627" />
<!-- Images -->
<MauiImage Include="Resources\Images\*" />
<MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" />
<!-- Custom Fonts -->
<MauiFont Include="Resources\Fonts\*" />
<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
<None Remove="Resources\Images\about_graphite.png" />
<None Remove="Resources\Images\badge_graphite.png" />
<None Remove="Resources\Images\biz_profile_graphite.png" />
<None Remove="Resources\Images\coupons_graphite.png" />
<None Remove="Resources\Images\customers_graphite.png" />
<None Remove="Resources\Images\dashboard_graphite.png" />
<None Remove="Resources\Images\feed_graphite.png" />
<None Remove="Resources\Images\hamburger_manu_graphite.png" />
<None Remove="Resources\Images\intercom_graphite.png" />
<None Remove="Resources\Images\plus_graphite.png" />
<None Remove="Resources\Images\power_graphite.png" />
<None Remove="Resources\Images\qr_scan_graphite.png" />
<None Remove="Resources\Images\qr_scan_large_graphite.png" />
<None Remove="Resources\Images\search_graphite.png" />
<None Remove="Resources\Images\settings_graphite.png" />
<None Remove="Resources\Images\shop_graphite.png" />
<None Remove="Resources\Images\single_user_graphite.png" />
<None Remove="Resources\Images\subscriptions_graphite.png" />
<None Remove="Resources\Images\user_profile_graphite.png" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Azure.Storage.Blobs" Version="12.14.1" />
<PackageReference Include="CommunityToolkit.Maui" Version="3.0.0" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.0.0" />
<PackageReference Include="Ingrid.Aurora" Version="1.5.1" />
<PackageReference Include="Ingrid.Core" Version="1.5.1" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" />
<PackageReference Include="MonkeyCache.FileStore" Version="1.6.3" />
<PackageReference Include="Plugin.InAppBilling" Version="6.7.0" />
<PackageReference Include="Plugin.Maui.Audio" Version="0.1.0-preview1" />
<PackageReference Include="Sentry.Maui" Version="3.23.1-preview.3" />
<PackageReference Include="Syncfusion.Maui.Barcode" Version="20.3.56" />
<PackageReference Include="ZXing.Net.Maui.Controls" Version="0.2.0-preview.2" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="sqlite-net-pcl" Version="1.8.116" />
<PackageReference Include="SQLitePCLRaw.core" Version="2.1.0" />
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.0" />
<PackageReference Include="SQLitePCLRaw.provider.dynamic_cdecl" Version="2.1.0" />
<PackageReference Include="SQLitePCLRaw.provider.sqlite3" Version="2.1.0" />
</ItemGroup>
</Project>

I was setting the Flyout icon in Styles.xaml and this was the issue -- see below.
<Style TargetType="Shell" ApplyToDerivedTypes="True">
<Setter Property="Shell.FlyoutIcon" Value="mymenuicon.png" />
</Style>
There's probably a way to set it in Styles.xaml and I'd appreciate it if someone can show me how to do that in the comments.
The fix for my problem was simply setting it in AppShell as follows:
<Shell
x:Class="MyApp.AppShell"
FlyoutIcon="mymenuicon.png">
...
</Shell>

Related

Double wwwroot folder when deploying blazor via devops pipeline

When I publish our blazor server app via Visual Studio to a local folder all is fine. We get a single wwwroot folder with all the css etc in it. However when deployed via Blazor to the server we get the wwwroot folder inside another wwwroot folder for some reason. Does anyone know what could be the issue?
I found the problem and it was a little curious.
Basically I had the following in the csproj file for the client project.
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<Content Remove="wwwroot\css\bootstrap-select.css" />
<Content Remove="wwwroot\css\bootstrap-select.min.css" />
<Content Remove="wwwroot\css\bootstrap-theme.css" />
<Content Remove="wwwroot\css\bootstrap-theme.min.css" />
<Content Remove="wwwroot\css\bootstrap.css" />
<Content Remove="wwwroot\css\bootstrap.min.css" />
<Content Remove="wwwroot\css\cust-bootstrap.css" />
<Content Remove="wwwroot\css\cust.css" />
<Content Remove="wwwroot\css\navbar.css" />
<Content Remove="wwwroot\css\site.css" />
</ItemGroup>
<ItemGroup>
<None Include="wwwroot\css\bootstrap-select.css" />
<None Include="wwwroot\css\bootstrap-select.min.css" />
<None Include="wwwroot\css\bootstrap-theme.css" />
<None Include="wwwroot\css\bootstrap-theme.min.css" />
<None Include="wwwroot\css\bootstrap.css" />
<None Include="wwwroot\css\bootstrap.min.css" />
<None Include="wwwroot\css\custbootstrap.css" />
<None Include="wwwroot\css\cust.css" />
<None Include="wwwroot\css\navbar.css" />
<None Include="wwwroot\css\site.css" />
<None Include="wwwroot\img\navbarlogo.png" />
<None Include="wwwroot\js\bootstrap-select.min.js" />
<None Include="wwwroot\js\bootstrap.js" />
<None Include="wwwroot\js\bootstrap.min.js" />
<None Include="wwwroot\js\references.js" />
<None Include="wwwroot\js\site.js" />
<None Include="wwwroot\static\master.html" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Blazored.LocalStorage" Version="4.1.5" />
<PackageReference Include="Microsoft.AspNetCore.Components.Authorization" Version="6.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="6.0.1" PrivateAssets="all" />
<PackageReference Include="PSC.Blazor.Components.Tabs" Version="1.0.6" />
I Noticed that one of my other Blazor projects did not have these in. I removed the wwwroot entries from this file and it fixed the double folder issue.
I have no idea how they got into the project file in the first place...

Azure pipeline error: The type or namespace name 'Azure' could not be found (are you missing a using directive or an assembly reference?

I have a build pipeline in azure devops but getting the error below.
The type or namespace name 'Azure' could not be found (are you missing
a using directive or an assembly reference?
This error appears during my MSbuild task, the previous Nuget restore task works fine.
This is my project file
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{01511C7D-0BB5-4EF9-9B86-FE2B7B1E73DB}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>GraphSDK</RootNamespace>
<AssemblyName>GraphSDK</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.IdentityModel" />
<Reference Include="System.Numerics" />
<Reference Include="System.Security" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="GraphClient.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Samples\Assignment.cs" />
<Compile Include="Samples\Submission.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Azure.Identity">
<Version>1.5.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.Graph">
<Version>4.7.0</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
And this is my MSbuild task, any idea what is the reason of the error or probably something related to my project?
BTW, it builds fine locally in VS2019.
How Did I solve it?
It seems there is a difference on how your project takes the nuget packages.
I had added them from Solution level, I mean.
Right click on the solution.
Manage Nuget Packages for Solution...
What worked was to remove the Nuget packages and add back but from Project level (I have 3 projects in my solution).
Right click on the project.
Manage Nuget Packages..
And install back all your packages (project by project).
Not sure why but it worked!!

No executable found matching command "dotnet-ef" (csproj) vs2017

I try to do https://learn.microsoft.com/en-us/aspnet/core/data/ef-rp/complex-data-model
When I execute dotnet ef migrations add ColumnFirstName error appears
I installed many packages via Install-Package but error appears.
Here is my csproj
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.5" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="2.0.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="2.0.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.Design" Version="1.1.5" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.0.1" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.0.2" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Utils" Version="2.0.2" />
</ItemGroup>
<ItemGroup>
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.0" />
</ItemGroup>
</Project>
I add
<ItemGroup>
<DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="2.0.0" />
</ItemGroup>
and that solved.
<ItemGroup>
<DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="2.0.0" />
</ItemGroup>

Visual Studio 2017 mistakenly thinks EF 6 is installed

I upgraded my ASP.NET Core, EF Core class library solution to Visual Studio 2017.
However when I want to run migrations commands like Add-Migration I get the following warning.
Both Entity Framework Core and Entity Framework 6 are installed. The Entity Framework Core tools are running. Use 'EntityFramework\Update-Database' for Entity Framework 6.
However I don't have EF 6 installed
My csproj
...
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="1.1.1" />
<PackageReference Include="Microsoft.CSharp" Version="4.3.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="1.1.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="1.1.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="1.1.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.1" />
<PackageReference Include="System.Collections" Version="4.3.0" />
<PackageReference Include="System.Linq" Version="4.3.0" />
<PackageReference Include="System.Runtime" Version="4.3.0" />
<PackageReference Include="System.Threading" Version="4.3.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net452' ">
<Reference Include="System" />
<Reference Include="Microsoft.CSharp" />
</ItemGroup>
<ItemGroup>
<DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.0" />
</ItemGroup>
<ItemGroup>
<Folder Include="Migrations\" />
</ItemGroup>
</Project>
This can happen if you previously had an EF6 project open in VS. To unload EF6, you can use the following command.
Remove-Module EntityFramework

Unable to open Facebook C# SDK canvas samples. IIS 6?

Downloaded Facebook C# SDK 5.4.1 from here.
I've been through the CS-WinForms solution which works fine. I'm now trying to open the CS-Canvas-AspNetWebForms-JsSdk and CS-Canvas-AspNetWebForms-WithoutJsSdk solutions but I get the following error in VS 2010:
D:\VSProjects\...\CS-Canvas-AspNetWebForms-WithoutJsSdk.csproj : error :
The Web Application Project CS-Canvas-AspNetWebForms-WithoutJsSdk is configured
to use IIS. To access local IIS Web sites, you must install the following IIS
components:
IIS 6 Metabase and IIS 6 Configuration Compatibility
ASP.NET
In addition, you must run Visual Studio in the context of an administrator account.
I'm running on Windows 7 (64 bit) so I really don't want to install IIS 6. Can I just run this solution using the built-in VS Cassini web server that I use for everything else?
UPDATE:
Apparently I need to edit the .csproj file by hand. The contents are shown below. Can anyone tell me which changes I need to make?
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>
</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{7A74691E-66DF-4DAA-B9A7-D5428E13B5A9}</ProjectGuid>
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CS_Canvas_AspNetWebForms_JsSdk</RootNamespace>
<AssemblyName>CS-Canvas-AspNetWebForms-JsSdk</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<UseIISExpress>true</UseIISExpress>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Facebook">
<HintPath>..\..\Bin\Release\net40-client\Facebook.dll</HintPath>
</Reference>
<Reference Include="Facebook.Web">
<HintPath>..\..\Bin\Release\net40\Facebook.Web.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Web.DynamicData" />
<Reference Include="System.Web.Entity" />
<Reference Include="System.Web.ApplicationServices" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Core" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Drawing" />
<Reference Include="System.Web" />
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />
<Reference Include="System.Web.Services" />
<Reference Include="System.EnterpriseServices" />
</ItemGroup>
<ItemGroup>
<Content Include="Default.aspx" />
<Content Include="Facebook\Default.aspx" />
<Content Include="Facebook\FacebookLoginControl.ascx" />
<Content Include="Scripts\jquery-1.6.2-vsdoc.js" />
<Content Include="Scripts\jquery-1.6.2.js" />
<Content Include="Scripts\jquery-1.6.2.min.js" />
<Content Include="Web.config" />
<Content Include="Web.Debug.config">
<DependentUpon>Web.config</DependentUpon>
</Content>
<Content Include="Web.Release.config">
<DependentUpon>Web.config</DependentUpon>
</Content>
</ItemGroup>
<ItemGroup>
<Compile Include="Default.aspx.cs">
<DependentUpon>Default.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Default.aspx.designer.cs">
<DependentUpon>Default.aspx</DependentUpon>
</Compile>
<Compile Include="Facebook\Default.aspx.cs">
<DependentUpon>Default.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Facebook\Default.aspx.designer.cs">
<DependentUpon>Default.aspx</DependentUpon>
</Compile>
<Compile Include="Facebook\FacebookLoginControl.ascx.cs">
<DependentUpon>FacebookLoginControl.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="Facebook\FacebookLoginControl.ascx.designer.cs">
<DependentUpon>FacebookLoginControl.ascx</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<UseIIS>True</UseIIS>
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>1220</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:1220/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>
</CustomServerUrl>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
Right-click on the project and change the webserver settings to use cassini. If you cannot get the project to load at all, then you will need to hand edit the .csproj file and change the web server settings by hand.