G
Guest
I have a dataset in a class library and when I try to create a new table in
another project that has a reference to that dataset I'm getting the error
"Overload resolution failed because no 'New' is accessible." There are a
bunch of different tables in this dataset and there are only two that I'm
having this problem with. I can instantiate all other tables just fine. I
have tried completely deleting this dataset and re-creating it and these
tables still have the same problem. If I go into the code behind the dataset
I can see that the constructor and some other properties are marked as
"friend" and I can manually change them to "public" and it fixes the problem
but this means that if I ever re-generate those particular tables I have to
manuall fix it again. Is there any way to fix this?
another project that has a reference to that dataset I'm getting the error
"Overload resolution failed because no 'New' is accessible." There are a
bunch of different tables in this dataset and there are only two that I'm
having this problem with. I can instantiate all other tables just fine. I
have tried completely deleting this dataset and re-creating it and these
tables still have the same problem. If I go into the code behind the dataset
I can see that the constructor and some other properties are marked as
"friend" and I can manually change them to "public" and it fixes the problem
but this means that if I ever re-generate those particular tables I have to
manuall fix it again. Is there any way to fix this?