compactframework | A set of APIs for .NET Compact Framework
kandi X-RAY | compactframework Summary
kandi X-RAY | compactframework Summary
A set of APIs for .NET Compact Framework.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of compactframework
compactframework Key Features
compactframework Examples and Code Snippets
Community Discussions
Trending Discussions on compactframework
QUESTION
I'm trying to do some development on our legacy .NET Compact Framework 3.5 application (a warehouse application running on Windows CE/Windows mobile devices).
On opening the project in Visual Studio 2008, I get this error:
The imported project "C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.CSharp.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
I think this is caused by the absence of "Power Toys for .NET Compact Framework 3.5", probably removed by a recent upgrade to Windows 2004.
This package used be available at this URL: https://www.microsoft.com/en-us/download/details.aspx?id=13442
However, Microsoft seems to have removed it, and I can't find any mirrors online.
Does anyone have a copy of this package, to be made available for download?
...ANSWER
Answered 2020-Aug-25 at 09:50I have upgraded Windows 10 and ran into the same issues, that the Power Toys install was mangled.
I did find the msi using the wayback machine: https://web.archive.org/web/*/https://download.microsoft.com/download/f/a/c/fac1342d-044d-4d88-ae97-d278ef697064/NETCFv35PowerToys.msi
click i.e. the year 2008 which shows July 26th, you can download it by clicking on that date
QUESTION
Our C# 2.0 CF (CompactFramework) application targets older devices running Windows CE 5.0 and 6.0. The project builds a number of DLLs to provide functionality such as RS-232 comms.
On the Windows CE 5.0 device, a MissingMethodException
is thrown, referencing one of these DLLs. This happens early in the application startup process and only immediately after a power cycle. If we kill the application and restart, the exception is not thrown and the application works perfectly. Same result if we deploy using Visual Studio for debugging (no exception).
No exception is thrown on the Windows CE 6.0 devices.
Since this occurs only immediately after a power cycle and we cannot debug the project, what can I try to track down where and what is causing the problem?
UpdateThe answer from josef
is useful. Use IsAPIReady
on CE 5.0 with one of these sub-systems:
ANSWER
Answered 2019-Mar-02 at 06:06When a device starts, not all APIs are ready to use from the beginning as those are loaded asynchronously. Therefor WinCE offers the isApiReady function: https://docs.microsoft.com/en-us/previous-versions/windows/embedded/ms885686%28v%3dmsdn.10%29
On startup of device it loads drivers, services and finally the shell according to the order of the init registry key. Your code probably uses an API that is not yet loaded and so fails.
An example of isApiReady use can be found at https://github.com/hjgode/RAC_switch/blob/master/RAC_switch/WinAPIReady.cs
QUESTION
Is there a way to target .NET Compact Framework 3.5 with the new .csproj
file format? I want to be able to target the following frameworks:
ANSWER
Answered 2018-Mar-04 at 21:37You can disable generation of AssemblyFileVersionAttribute
and AssemblyVersionAttribute
by specifying so in the .csproj
file.
QUESTION
the task I had to solve was to send an ARP request to a target device.
So I started to P/Invoke SendARP in C# - CompactFramework.NET 2.0 for Windows CE 6.0.
...ANSWER
Answered 2017-Oct-02 at 07:07Indeed! josef is right, this param is ref ...
QUESTION
From a CompactFramework
, I got a TypeString
which can be a complex type, meaning it can use generics, arrays, etc. That means it can look like Sytem.Tuple’1[[Sytem.String, mscorlib]]
. Problem is, I can not use Type.GetType
because the assemblys
in the Typestring
may be wrong or not present.
Is there a lib which parses the string, and returns a type by searching all types in appdomain
for the right one?
ANSWER
Answered 2017-Feb-23 at 07:01I've now found no Code, but solved using this:
QUESTION
In the full .NET version, Graphics.DrawBeziers
can be used to draw a series of cubic Bezier curves. According to this MSDN article, this is not available in the .NET CompactFramework (both v2.0 and v3.5). Can Bezier curves be drawn "from scratch" in the CompactFramework (or P/Invoked)?
ANSWER
Answered 2017-Jan-06 at 18:39This excellent CodeProject article describes how to generate the Bezier curves from first principles. Stumbled upon the article some time after asking the question.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install compactframework
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page