开发者

Insufficient memory in "Data Source Configuration Wizard"

开发者 https://www.devze.com 2022-12-19 07:30 出处:网络
I try to add new data source for object with \"Data Source Configuration Wizard\" and get error message: \"An unexpected error has occured. Error Message: Insufficien开发者_开发百科t memory to continu

I try to add new data source for object with "Data Source Configuration Wizard" and get error message: "An unexpected error has occured. Error Message: Insufficien开发者_开发百科t memory to continue the execution of the program". What is problem?


You can add all what you need manually.

1 Create datasource file, for example Class2.datasource

<?xml version="1.0" encoding="utf-8"?>    
<GenericObjectDataSource DisplayName="Class1" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
    <TypeInfo>WindowsFormsApplication1.Class1, WindowsFormsApplication1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

2 Add information about Class2.datasource in project file in <ItemGroup> section:

<None Include="Properties\DataSources\Class1.datasource" />

3 Reload project configuration file

I know, this is a weird solution, but it works!

0

精彩评论

暂无评论...
验证码 换一张
取 消