You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 13, 2019. It is now read-only.
Hi,
I was following the steps mentioned in readme.md->[## Building from Source]
I am not able to build BackgroundTaskRegisterer successfully.
below is the error which I got in VS2017
1>G:\Github_Downloads\electron-uwp-background\background-task-registerer\Program.cs(3,15,3,31): error CS0234: The type or namespace name 'ApplicationModel' does not exist in the namespace 'Windows' (are you missing an assembly reference?)
1>G:\Github_Downloads\electron-uwp-background\background-task-registerer\Program.cs(39,71,39,89): error CS0246: The type or namespace name 'IBackgroundTrigger' could not be found (are you missing a using directive or an assembly reference?)
Do I need to do any additional settings to get rid off this build error ?
The text was updated successfully, but these errors were encountered:
You can resolve this by clicking edit to your BackgroundTaskRegisterer.csproj file. There find the Windows reference and check the path of the file. <Reference Include="Windows"> <HintPath>C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.16299.0\Windows.winmd</HintPath> </Reference>
This fixed it for me.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I was following the steps mentioned in
readme.md
->[## Building from Source
]I am not able to build
BackgroundTaskRegisterer
successfully.below is the error which I got in VS2017
1>G:\Github_Downloads\electron-uwp-background\background-task-registerer\Program.cs(3,15,3,31): error CS0234: The type or namespace name 'ApplicationModel' does not exist in the namespace 'Windows' (are you missing an assembly reference?)
1>G:\Github_Downloads\electron-uwp-background\background-task-registerer\Program.cs(39,71,39,89): error CS0246: The type or namespace name 'IBackgroundTrigger' could not be found (are you missing a using directive or an assembly reference?)
Do I need to do any additional settings to get rid off this build error ?
The text was updated successfully, but these errors were encountered: