New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Can't build : System.NullReferenceException on Xamarin.Android #119
Comments
Hey @Lapinou42 👋, Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our Open Collective and consider contributing financially. https://opencollective.com/reactiveui
|
Seems similar to #77, I have also private nugets. |
I found a workaround :
|
Can you attach the project file you were trying to generate for? Something is generating empty package references. |
@glennawatson i think by creating new Xamarin.Forms project gives this error.....but by removing Pharmacist.MSBuild made it build |
You would normally add Pharmacist to your netstandard project btw for Xamarin Forms. |
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>portable</DebugType>
<DebugSymbols>true</DebugSymbols>
<PharmacistGlobalPackages>true</PharmacistGlobalPackages>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Prism.DryIoc.Forms" Version="8.0.0.1539-ci" />
<PackageReference Include="ReactiveUI" Version="11.2.3" />
<PackageReference Include="ReactiveUI.Fody" Version="11.2.3" />
<PackageReference Include="Tsl.AsciiProtocol.Std" Version="1.4.3" />
<PackageReference Include="Xamarin.Forms" Version="4.5.0.356" />
<PackageReference Include="Xamarin.Essentials" Version="1.5.1" />
<PackageReference Include="Xamarin.Forms.PancakeView" Version="1.3.7" />
<PackageReference Include="Pharmacist.Common" Version="1.5.15" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Views\DashboardPage.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
<EmbeddedResource Update="Views\LoginPage.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
<EmbeddedResource Update="Views\ManageEventsPage.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
<EmbeddedResource Update="Views\SetDrawer.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
</ItemGroup>
</Project> |
thats my csproj. |
See https://www.nuget.org/packages/ReactiveMarbles.ObservableEvents.SourceGenerator/ and https://github.com/reactivemarbles/ObservableEventsSourceGenerator This won't use it's own nuget integration anymore, instead will use dotnet one.
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Describe the bug
Screenshots
Environment
OS: Mac OS 10.15.3 (19D76)
Android SDK version: 10
VS version: 8.4.8 (build 2)
ReactiveUI versions: 11.2.3 (ReactiveUI, ReactiveUI.AndroidX, ReactiveUI.AndroidSupport)
Pharmacist version: 1.5.15
Additional context
The text was updated successfully, but these errors were encountered: